package com.niit.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration // 这个类就相当于 spring-config.xml,spring-beans.xml
@ComponentScan("com.niit.beans")
public class SpringConfig {
}
